﻿using Microsoft.AspNetCore.Http;
using Newtonsoft.Json;
using System.ComponentModel.DataAnnotations;
using System.Text.Json.Serialization;

namespace ThresholdAssistant.WebAPI.Models
{
    /// <summary>
    /// 上传图片参数
    /// </summary>
    public class UploadPicParam
    {
        /// <summary>
        /// 用户id
        /// </summary>
        [JsonProperty("member_id"), JsonPropertyName("member_id")]
        [Required(ErrorMessage = nameof(ErrorResultEnum.MemberIdIsNull))]
        public long MemberId { get; set; }
    }
}
